/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.personal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 基本用户字段 实体类
 *
 * @author BladeX
 * @since 2023-03-22
 */
@Data
@TableName("ts_user_base")
@ApiModel(value = "UserBase对象", description = "基本用户字段")
@EqualsAndHashCode(callSuper = true)
public class UserBaseEntity extends TenantEntity {

	/**
	 * 乐观锁
	 */
	@ApiModelProperty(value = "乐观锁")
	private String revision;

	/**
	 * 身份证;身份证号码
	 */
	@ApiModelProperty(value = "身份证;身份证号码")
	private String idCard;


	/**
	 * 保密等级(秘密、内文、非密)
	 */
	private Integer secrecyLevel;

	/**
	 * 对应blade_id
	 */
	@ApiModelProperty(value = "blade用户表id")
	private Long userId;

	/**
	 * 用户身份(枚举UserType)
	 */
	@ApiModelProperty(value = "用户身份(枚举UserType)")
	private Integer userType;

	/**
	 * 版本批次号
	 */
	@ApiModelProperty(value = "版本批次号")
	private String version;

	/**
	 * 用户编号
	 */
	@ApiModelProperty(value = "用户编号")
	private String userNumber;

	/**
	 * 积分
	 */
	@ApiModelProperty(value = "积分")
	private Float integral;

	/**
	 * 学时
	 */
	@ApiModelProperty(value = "学时")
	private Float period;


	/**
	 * 单位
	 */
	@ApiModelProperty(value = "单位")
	private String company;
	/**
	 * 通讯地址
	 */
	@ApiModelProperty(value = "通讯地址")
	private String address;
	/**
	 * 能力鉴定项目
	 */
	@ApiModelProperty(value = "能力鉴定项目")
	private String project;
	/**
	 * 专业级别
	 */
	@ApiModelProperty(value = "专业级别")
	private String majorLevel;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;


	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	private String deptId;

	/**
	 * 用户名称
	 */
	@ApiModelProperty(value = "用户名称")
	private String userName;

	@ApiModelProperty(value = "内训专业类别")
	private String trainingMajorCategory;//内训专业类别

	@ApiModelProperty(value = "内训专业方向")
	private String trainingMajorDirection;//内训专业方向

	@ApiModelProperty(value = "聘任等级")
	private String appointmentGrade;//聘任等级


}
